package com.mc.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mc.model.SubMenu;

public interface SubMenuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SubMenu record); 

    int insertSelective(SubMenu record);

    SubMenu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SubMenu record);

    int updateByPrimaryKey(SubMenu record);
    
    List<SubMenu> selectSubMenuByMid(@Param("pmid")int pmid);
}